using IM.Easy.Infrastructure.Query;
using System.ComponentModel.DataAnnotations;


namespace IM.Easy.MsgServices.Dtos
{
    /// <summary>
    /// 邮箱账号表查询实体
    /// </summary>
    public class EmailAccountQueryDto : QueryBase
    {
        /// <summary>
        /// 邮箱账号
        /// </summary>
        public string Account { get; set; }

        /// <summary>
        /// 账号主键
        /// </summary>
        public List<long> Id { get; set; }
    }

    /// <summary>
    /// 邮箱账号表dto
    /// </summary>
    public class EmailAccountDto
    {
        /// <summary>
        /// 邮件唯一标识
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 用户昵称
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 关联用户Id
        /// </summary>
        public long UserId { get; set; }
        /// <summary>
        /// 邮箱账号 例如：user@example.com
        /// </summary>
        public string Account { get; set; }
    }
}
